#-------------------------------------------------
#
# Project created by QtCreator 2012-06-02T19:53:30
#
#-------------------------------------------------

QT       += network

QT       -= gui

TARGET = VxPktLib
TEMPLATE = lib
CONFIG += staticlib



DEFINES += "STATICLIB"

win32 {
    CharacterSet=2
    DEFINES -= UNICODE
    DEFINES += "WIN_PLATFORM"
    DEFINES += "WIN32"
    DEFINES += "_WINDOWS"
    DEFINES += "_CRT_SECURE_NO_WARNINGS"
    debug {
        DEFINES += "DEBUG"
        LIBS += -L"../lib/debugWin32/" -lVxUtilLib
    }
    release {
        DEFINES += "RELEASE"
        LIBS += -L"../lib/releaseWin32/" -lVxUtilLib
    }
}

unix:!symbian {
    maemo5 {
        target.path = ../lib/debugLinux/
    } else {
        QMAKE_CXXFLAGS += -Wno-unused-parameter
        CONFIG(declarative_debug, debug|declarative_debug) {
            message(Debug build pass)
            DESTDIR = "../lib/debugLinux/"
            DEFINES += "DEBUG"
            target.path =  ../lib/debugLinux/
        } else {
            message(Release build pass)
            DESTDIR = "../lib/releaseLinux/"
            DEFINES += "RELEASE"
            target.path =  ../lib/releaseLinux/
        }
    }
    INSTALLS += target
}

INCLUDEPATH += ../

SOURCES +=     ./PktKeyReq.cpp \
    ./PktFileChunkAck.cpp \
    ./PktKeyReply.cpp \
    ./VxFileTxRx.cpp \
    ./VxPktHandler.cpp \
    ./VxPktUtil.cpp \


HEADERS +=     ./GamePackets.h \
    ./PktAcctCreateReply.h \
    ./PktAcctCreateReq.h \
    ./PktAck.h \
    ./PktAddToContainer.h \
    ./PktAdmin.h \
    ./PktAnim.h \
    ./PktAttackReply.h \
    ./PktAttackReq.h \
    ./PktAvailDrivesReply.h \
    ./PktAvailDrivesReq.h \
    ./PktAvatarCheckName.h \
    ./PktAvatarCreate.h \
    ./PktAvatarDelete.h \
    ./PktAvatarExit.h \
    ./PktAvatarPlay.h \
    ./PktBuy.h \
    ./PktChallengeReply.h \
    ./PktChallengeReq.h \
    ./PktCharInfo.h \
    ./PktClick.h \
    ./PktCmd1ArgReply.h \
    ./PktCmd1ArgReq.h \
    ./PktCmd2ArgReply.h \
    ./PktCmd2ArgReq.h \
    ./PktCmd3ArgReply.h \
    ./PktCmd3ArgReq.h \
    ./PktCmdBinReply.h \
    ./PktCmdBinReq.h \
    ./PktCmdExecuteReq.h \
    ./PktCmdOpenReq.h \
    ./PktCmdReq.h \
    ./PktContainerContent.h \
    ./PktCreature.h \
    ./PktCreatureStatus.h \
    ./PktDebug.h \
    ./PktDefs.h \
    ./PktDeleteObj.h \
    ./PktDisconnect.h \
    ./PktDragging.h \
    ./PktDrawContainer.h \
    ./PktEffect.h \
    ./PktEntMove.h \
    ./PktEntPos.h \
    ./PktErr.h \
    ./PktFightOccurring.h \
    ./PktFileChunk.h \
    ./PktFileChunkAck.h \
    ./PktFileGetComplete.h \
    ./PktFileListComplete.h \
    ./PktFileListReply.h \
    ./PktFileListReq.h \
    ./PktFileSendComplete.h \
    ./PktFileSendCompleteAck.h \
    ./PktFileXferComplete.h \
    ./PktFrameSync.h \
    ./PktGameAcctsReply.h \
    ./PktGameAcctsReq.h \
    ./PktGameLoginChallengeReply.h \
    ./PktGameLoginChallengeReq.h \
    ./PktImAliveReply.h \
    ./PktImAliveReq.h \
    ./PktItem.h \
    ./PktItemDrop.h \
    ./PktItemPickup.h \
    ./PktItemSettingReply.h \
    ./PktItemSettingReq.h \
    ./PktItemState.h \
    ./PktItemStatus.h \
    ./PktKeyReply.h \
    ./PktKeyReq.h \
    ./PktLight.h \
    ./PktLogEntry.h \
    ./PktLoginReply.h \
    ./PktLoginReq.h \
    ./PktMobileAttr.h \
    ./PktPetList.h \
    ./PktPlaceable.h \
    ./PktPlayer.h \
    ./PktPlayerStatReply.h \
    ./PktPlayerStatReq.h \
    ./PktPlayerStatus.h \
    ./PktPortal.h \
    ./PktPunish.h \
    ./PktRename.h \
    ./PktSessionReply.h \
    ./PktSessionReq.h \
    ./PktShellCommand.h \
    ./PktSound.h \
    ./PktSrvAnnounceReply.h \
    ./PktSrvAnnounceReq.h \
    ./PktStatWnd.h \
    ./PktTalk.h \
    ./PktTargeting.h \
    ./PktTeleport.h \
    ./PktTime.h \
    ./PktTrade.h \
    ./PktUpdate.h \
    ./PktUpdateChar.h \
    ./PktVisible.h \
    ./PktWarn.h \
    ./PktWeather.h \
    ./PktWebBrowse.h \
    ./PktWornItem.h \
    ./VxPktHandler.h \
    ./VxPktLib.h \
    ./VxPktUtil.h



